namespace EyeOpen.Build
{
	using System.Collections.Generic;

	public class RemoveProjectsFromSolutionFileTaskConfigurer
		: ITaskConfigurer<IRemoveProjectsFromSolutionFileTask>
	{
		private readonly string solutionFilePath;

		private readonly string newSolutionFilePath;

		private readonly IEnumerable<string> removeProjectList;

		public RemoveProjectsFromSolutionFileTaskConfigurer(string solutionFilePath, string newSolutionFilePath, IEnumerable<string> removeProjectList)
		{
			this.solutionFilePath = solutionFilePath;
			this.newSolutionFilePath = newSolutionFilePath;
			this.removeProjectList = removeProjectList;
		}

		public void Configure(IRemoveProjectsFromSolutionFileTask task)
		{
			task.SolutionFilePath = solutionFilePath;
			task.NewSolutionFilePath = newSolutionFilePath;
			task.RemoveProjectList = removeProjectList;
		}
	}
}